import { reactive, ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const useUserinfoStore = defineStore('userinfo', () => {
  const userinfo = ref({})
  var saveUserinfo = function(payload){
    userinfo.value = payload;
    console.log( userinfo );
  }
  return { userinfo ,saveUserinfo }
})
